

<div class="bjui-pageContent">
	<form action="${base}/admin/advertisingEdit" id="form1"
		data-toggle="validate" data-alertmsg="false">
		<input type="hidden" name="id" value="${vo.id}" />
		<table class="table table-condensed table-hover">
			<tbody>
		<!-- 	<tr>
					<td><label for="adType" class="control-label x85">类型：</label>
						<input type="text" name="adType" id="adType" value="${vo.adType!}"
						data-rule="required number "></td>
					<td>
				</tr> -->	
				<tr>
					<td><label for="adTitle" class="control-label x85">标题：</label>
						<input type="text" name="adTitle" id="adTitle"
						value="${vo.adTitle!}" data-rule="required "></td>
					<td>
				</tr>
				<tr>
					<td><label for="adSubhead" class="control-label x85">副标题：</label>
						<input type="text" name="adSubhead" id="adSubhead"
						value="${vo.adSubhead!}" data-rule="required "></td>
					<td>
				</tr>
				<tr>
					<td><label for="adExcerpt" class="control-label x85">摘要：</label>
						<input type="text" name="adExcerpt" id="adExcerpt"
						value="${vo.adExcerpt!}" data-rule="required "></td>
					<td>
				</tr>
				<tr>
					<td><label for="adPoster" class="control-label x85">缩略图：</label>
						<div style="display:inline-block; vertical-align:middle;">
							<div id="doc_pic_up" data-toggle="upload"
								data-uploader="${base}/admin/uploadPic"
								data-file-size-limit="10000"
								data-file-type-exts="*.jpg;*.jpeg;*.gif;*.png;"
								data-multi="false" data-on-upload-success="doc_upload_success"
								data-icon="cloud-upload" data-auto="true"></div>
							<input type="hidden" name="adPoster" value="${vo.adPoster!}"
								id="doc_pic">
						</div> <span id="doc_span_pic"><img src="${vo.adPoster!}"
							width="100"></span></td>
					<td>
				</tr>
				<tr>
					<td><label for="adContent" class="control-label x85">正文：</label>

						<textarea data-toggle="kindeditor" name="adContent" id="adContent"
							data-rule="required"
							data-upload-json="${base}/admin/uploadPicRich"
							data-fileManager-json='${base}/admin/uploadFile'
							data-items="'source', '|', 'undo', 'redo', '|', 'preview',
        'plainpaste', 'wordpaste', '|', 'justifyleft', 'justifycenter', 'justifyright',
        'justifyfull', 'insertorderedlist', 'insertunorderedlist', 'indent', 'outdent', 'subscript',
        'superscript', 'clearhtml', 'quickformat', 'selectall', '|', 'fullscreen', '/',
        'formatblock', 'fontname', 'fontsize', '|', 'forecolor', 'hilitecolor', 'bold',
        'italic', 'underline', 'strikethrough', 'lineheight', 'removeformat', '|', 'image',  'table', 'hr', 'baidumap', 'pagebreak',
        'anchor', 'link', 'unlink'">${vo.adContent!}</textarea>
					</td>
					<td>
				</tr>
				<tr>
					<td><label for="adTargetValue" class="control-label x85">目标值：</label>
						<input type="text" name="adTargetValue" id="adTargetValue"
						value="${vo.adTargetValue!}" data-rule="required "></td>
					<td>
				</tr>
				<tr>
					<td><label for="adLocation" class="control-label x85">广告位：</label>
						<input type="text" name="adLocation" id="adLocation"
						value="${vo.adLocation!}" data-rule="required number "></td>
					<td>
				</tr>
		<!-- 		<tr>
					<td><label for="adSort" class="control-label x85">排序：</label>
						<input type="text" name="adSort" id="adSort" value="${vo.adSort!}"
						data-rule="required number "></td>
					<td>
				</tr>
		<tr>
					<td><label for="adViews" class="control-label x85">浏览量：</label>
						<input type="text" name="adViews" id="adViews"
						value="${vo.adViews!}" data-rule="required number "></td>
					<td>
				</tr> -->	
		
				<tr>
					<td><label for="status" class="control-label x85">状态：</label>
						<select name="adStatus" id="adStatus" data-toggle="selectpicker">
							<option value="0"<#if (vo.adStatus)??&&vo.adStatus==0>
								selected</#if>>正常</option>
									<option value="1"<#if (vo.adStatus)??&&vo.adStatus==1>
								selected</#if>>删除</option>
					</select></td>
					<td>
				</tr>
			</tbody>
		</table>
	</form>
</div>
<div class="bjui-pageFooter">
	<ul>
		<li><button type="button" class="btn-close" data-icon="close">取消</button></li>
		<li><button type="submit" class="btn-default" data-icon="save">保存</button></li>
	</ul>
</div>